<ul class="hot_list" id="product_list">
  <% for product in hot_list  %>
    <li>
      <%= render :partial =>'/products/product_flash',:object=>product,
        :locals=>{:flash_params=>"product_id=#{product.id}"}%>
     <dl class="rank_button_container">
      <dt class="detail_toolbar">
        <span><a href="/products/<%=product.id%>" rel="#overlay" style="text-decoration:none" class="action_view" title="点击查看详细内容">查看大图</a></span><br />
        <span>人气: <%=product.line_items.length %> </span>
        <span class="yen"><%=product.price%></span>
      </dt>
      <dt class="detail_toolbar" style="margin-top: 5px;">
        <a href="/products/confirm/<%=product.id%>" >
          <img src="/images/minibuy.gif" alt="购买" />
        </a>
        <a href="/products/favorite/<%=product.id%>" >
          <img src="/images/minifavobt.gif" alt="收藏" />
        </a>
      </dt>
      <dt class="action_link">
        <%if editor?%>
          <dt>
            <%= link_to "删除",product, :confirm => '确定删除?', :method => :delete,:title=>'删除',:class=>'action_delete' %>
          </dt>
        <%end%>
      </dt>
     </dl>
    </li>
  <%  end %>
</ul>
